<!-- begin #header -->
<div ng-include src="'template/header.html'"></div>
<!-- end #header -->

<!-- begin #sidebar -->
<div ng-include src="'template/sidebar.html'"></div>

<!-- begin #content -->
<div id="content" view-content class="content" ng-class="{ 
    'content-full-width': setting.layout.pageContentFullWidth, 
    'height-full': setting.layout.pageContentFullHeight, 
    'content-inverse-mode': setting.layout.pageContentInverseMode 
}">
    <div ui-view></div>
</div>
<!-- end #content -->

<!-- begin #pagination -->
<script type="text/ng-template" id="template/pagination.html">
    <div class="ng-cloak ng-table-pager" ng-if="params.data.length">
        <div ng-if="params.settings().counts.length" class="ng-table-counts btn-group pull-right col-md-6">
            <div class="pull-right" style="padding:0px; line-height:32px; font-size: 14px;">
                共 {{ params.total() }} 条记录
                &nbsp;&nbsp;
                每页行数：
                <button ng-repeat="count in params.settings().counts" type="button"
                        ng-class="{'active':params.count() == count}"
                        ng-click="params.count(count)" class="btn btn-default">
                    <span ng-bind="count"></span>
                </button>
            </div>
        </div>
        <div class="ng-table-counts btn-group pull-left col-md-6">
            <ul ng-if="pages.length" class="pagination ng-table-pagination">
                <li ng-class="{'disabled': !page.active && !page.current, 'active': page.current}" ng-repeat="page in pages" ng-switch="page.type">
                    <a ng-switch-when="prev" ng-click="params.page(page.number)" href="">&laquo;</a>
                    <a ng-switch-when="first" ng-click="params.page(page.number)" href=""><span ng-bind="page.number"></span></a>
                    <a ng-switch-when="page" ng-click="params.page(page.number)" href=""><span ng-bind="page.number"></span></a>
                    <a ng-switch-when="more" ng-click="params.page(page.number)" href="">&#8230;</a>
                    <a ng-switch-when="last" ng-click="params.page(page.number)" href=""><span ng-bind="page.number"></span></a>
                    <a ng-switch-when="next" ng-click="params.page(page.number)" href="">&raquo;</a>
                </li>
            </ul>
        </div>
    </div>
</script>
<!-- end #pagination -->